const mongoose = require("mongoose");
const { url } = require("../config/index")
mongoose.connect(url, { useNewUrlParser: true, useUnifiedTopology: true, useFindAndModify: false })
module.exports = mongoose